import { OmitType, PartialType } from "@nestjs/mapped-types";
import { IsString } from "class-validator";
import { CreateCascaderItemDto } from "./create-csdr-item.dto";

export class UpdateCascaderItemDto extends PartialType(
    OmitType(CreateCascaderItemDto, ["typeId", "typeCode", "code"] as const),
) {
    @IsString()
    id!: string;
}
